workspace(name = "com_chenshuo_recipes_benchmark")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# abseil
http_archive(
    name = "absl",
    strip_prefix = "abseil-cpp-master",
    urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
)

# Google Test
http_archive(
    name = "gtest",
    strip_prefix = "googletest-master",
    urls = ["https://github.com/google/googletest/archive/master.zip"],
)

# Google Benchmark
http_archive(
    name = "benchmark",
    strip_prefix = "benchmark-master",
    urls = ["https://github.com/google/benchmark/archive/master.zip"],
)

# Google Brotli
http_archive(
    name = "brotli",
    strip_prefix = "brotli-master",
    urls = ["https://github.com/google/brotli/archive/master.zip"],
)

# LZ4
http_archive(
    name = "lz4",
    build_file = "lz4.BUILD",
    strip_prefix = "lz4-release",
    urls = ["https://github.com/lz4/lz4/archive/release.zip"],
)

# Zlib
http_archive(
    name = "zlib",
    build_file = "zlib.BUILD",
    strip_prefix = "zlib-master",
    urls = ["https://github.com/madler/zlib/archive/master.zip"],
)

# Zstandard
http_archive(
    name = "zstd",
    build_file = "zstd.BUILD",
    strip_prefix = "zstd-master",
    urls = ["https://github.com/facebook/zstd/archive/master.zip"],
)
